#ifndef _GLWINDOW_H_
#define _GLWINDOW_H_

#include <windows.h>

#define COLOUR_DEPTH 16	//Colour depth

class glWindow
{
public:
  glWindow();
  ~glWindow();

  void Init(HWND hwnd);
  bool SetThePixelFormat(HDC hdc);
  void ResizeGLWindow(int width, int height);
  void InitializeOpenGL(int width, int height);

  HDC  getHdc() {return m_hdc;}
  HWND getHwnd(){return m_hwnd;}

private:  

  HWND  m_hwnd;
  HDC	  m_hdc;
  HGLRC	m_hrc;			  //hardware RENDERING CONTEXT
  RECT	m_Rect;  

};

#endif //_GLWINDOW_H_